@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Sam Chen <sam.chen@opencart.cn>
// @created          2017-09-25 15:33:29
// @modified         2017-12-13 16:51:46
//

@media (min-width: 1200px){
    footer {
        &> .container{
            width: 1200px;
            padding-left: 0;
            padding-right: 0;
        }
    }
}
@media (max-width: $screen-sm-min) {
    footer {
        p.footer-bottom{
            padding: 10px 0 35px;
        }
    }
}
footer {
    padding: 42px 0 0;
    margin-top: 0;
    background-color: $footer_bg_color;
    @media (max-width: 768px) {
        padding: 42px 0 0;
    }
    h5 {
        font-size: 18px;
        position: relative;
        margin-bottom: 20px;
        color: $footer_title_color;
        &:before {
            content: '';
            position: absolute;
            bottom: -13px;
            left: 0;
            width: 50px;
            border-bottom: 1px solid $footer_title_color;
        }

        @media (max-width: 768px) {
            font-size: 14px;
            margin-bottom: 8px;
        }
    }

    ul.list-unstyled {
        margin-top: 30px;
        li {
            padding: 8px 0;
            position: relative;

            @media (max-width: 768px) {
                padding: 5px 0;
            }

            @media (min-width: 768px) {
                &:hover a {
                    margin-left: 11px;
                }
            }

            &:before {
                content: "\f101";
                font-family: 'FontAwesome';
                display: inline-block;
                position: absolute;
                right: auto;
                top: 4px;
                left: 0;
                line-height: 28px;
                font-style: normal;
                font-weight: normal;
                color: $footer_link_color;
            }

            a {
                display: inline-block;
                padding-left: 16px;
                color: $footer_link_color;
                @include transition(all .5s ease 0s);

                &:hover {
                    color: #A4A4A4;
                }
            }
        }
    }

    .footer-bottom {
        //border-top: $footer_bottom_border;
        background: $footer_bg_color;
        text-align: center;
        padding: 110px 0 35px;
        color: #f6f6f6;
        margin-bottom: 0;
        a {
            color: #f6f6f6;
        }

    }

    .product-compare-footer {
        margin-bottom: 20px;
        @media (min-width: 768px) {
            box-shadow: 0 -1px 12px 2px rgba(7,17,27,.1);
        }
    }

    a {
        position: relative;

        &:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 14%;
            width: 76%;
            border-bottom: 1px dashed #e4e4e4;
            @include transition(all 0.1s ease-in);
        }

        .direwolf-badge {
            display: block;
            position: absolute;
            top: 5px;
            right: 3px;
            width: 18px;
            height: 18px;
            line-height: 18px;
            border-radius: 50%;
            font-size: 8px;
            background-color: $badge-color;
            color: #fff;
            opacity: .9;
        }

        i {
            font-size: 22px;
            color: #777;
        }

        .icon{
            display: block;
            width: 30px;
            height: 30px;
            background-size: 100%;
            background-position: center;
            background-repeat: no-repeat;
            &.compare {
                background-image: url("/catalog/view/theme/amazon/image/icon/icon_compare.svg");
            }
            &.chat {
                background-image: url("/catalog/view/theme/amazon/image/icon/icon_Consultation.svg");
            }
            &.cart {
                background-image: url("/catalog/view/theme/amazon/image/icon/icon_Shopping_cart_black.svg");
            }
            &.favor {
                background-image: url("/catalog/view/theme/amazon/image/icon/icon_Collection.svg");
            }
        }
        &:first-of-type {
            //border-top-left-radius: 4px;
            //border-top-right-radius: 4px;
        }

        &:last-of-type {
            //border-bottom-left-radius: 4px;
            //border-bottom-right-radius: 4px;
            &:before {
                display: none;
            }
        }

        &:hover{
            .icon {
                &.compare {
                    background-image: url("/catalog/view/theme/amazon/image/icon/icon_compare_active.svg");
                }
                &.chat{
                    background-image: url("/catalog/view/theme/amazon/image/icon/icon_Consultation_active.svg");
                }
                &.cart{
                    background-image: url("/catalog/view/theme/amazon/image/icon/icon_Shopping-cart-white.svg");
                }
                &.favor{
                    background-image: url("/catalog/view/theme/amazon/image/icon/icon_Collection_white_new.svg");
                }
            }
        }
    }

    .fixed-shortcut-wrapper {
        position: fixed;
        width: 46px;
        bottom: 80px;
        right: 10px;
        z-index: 9999;
        .shortcut {
            box-shadow: 0 -1px 12px 2px rgba(7,17,27,.1);
        }

        a {
            width: 100%;
            display: block;
            background-color: #fff;
            font-size: 13px;
            text-align: center;
            color: #444;
            padding: 7px;
            @include transition(all 0.1s ease-in);

            @media (max-width: 768px) {
                background-color: rgba(255,255,255,.7);
            }

            &:hover {
                background-color: $kbd-bg;
                //border-color: $brand-primary;
                color: $brand-primary;
                &:before {
                    border-color: $brand-primary;
                }
            }

            i {
                display: block;
                color: #333;
                @include transition(all 0.1s ease-in);
            }
        }

        .go-top {
            margin-top: 10px;
            @media (min-width: 768px) {
                box-shadow: 0 -1px 12px 2px rgba(7,17,27,.1);
            }
            > a {
                padding: 5px 2px;
                font-weight: bold;
                line-height: 20px;
                color: #333;
                &:hover {
                    color: #fff;
                    i {
                        color: #fff;
                    }
                }
            }
        }
    }
}